package com.wejoy.video.middle.station.data.vo.workorder;/**
 * @Author 张文杰
 * @PackageName video-middle-station
 * @Package com.wejoy.video.middle.station.data.vo.workorder
 * @Date 2022/11/21 5:03 PM
 * @Version 1.0
 */

/**
 * @BelongsProject: video-middle-station
 * @BelongsPackage: com.wejoy.video.middle.station.data.vo.workorder
 * @Author: zhangwenjie
 * @CreateTime: 2022-11-21  17:03
 * @Description: EVS告警回调封装实体
 * @Version: 1.0
 */
public class EvsCallbackVO {

    /**
     * 回调触发时间
     */
    private Long timestamp;
    /**
     * 空间ID
     */
    private Integer spaceId;
    /**
     * 设备ID
     */
    private Long deviceId;
    /**
     * 设备NAME
     */
    private String deviceName;
    /**
     * 通道ID
     */
    private Integer channelId;
    /**
     * ⼤图地址
     */
    private String objectUrl;
    /**
     * 应⽤id
     */
    private String appId;
    /**
     * 事件id
     */
    private String eventId;
    /**
     * 事件类型
     * @see com.wejoy.video.middle.station.data.enums.dict.EnumWorkAlarmType
     */
    private String eventType;
    /**
     * 事件状态：START/END
     */
    private String eventStatus;
    /**
     * 事件检测结果
     */
    private AnalysisResultDTO analysisResult;

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getSpaceId() {
        return spaceId;
    }

    public void setSpaceId(Integer spaceId) {
        this.spaceId = spaceId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getObjectUrl() {
        return objectUrl;
    }

    public void setObjectUrl(String objectUrl) {
        this.objectUrl = objectUrl;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getEventStatus() {
        return eventStatus;
    }

    public void setEventStatus(String eventStatus) {
        this.eventStatus = eventStatus;
    }

    public AnalysisResultDTO getAnalysisResult() {
        return analysisResult;
    }

    public void setAnalysisResult(AnalysisResultDTO analysisResult) {
        this.analysisResult = analysisResult;
    }

    @Override
    public String toString() {
        return "EvsCallbackVO{" +
                "timestamp=" + timestamp +
                ", spaceId=" + spaceId +
                ", deviceId=" + deviceId +
                ", deviceName='" + deviceName + '\'' +
                ", channelId=" + channelId +
                ", objectUrl='" + objectUrl + '\'' +
                ", appId='" + appId + '\'' +
                ", eventId='" + eventId + '\'' +
                ", eventType='" + eventType + '\'' +
                ", eventStatus='" + eventStatus + '\'' +
                ", analysisResult=" + analysisResult +
                '}';
    }
}
